namespace Core.Extensions
{
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Resources;

    /// <summary>
    /// Accelerated target locking Extension class
    /// </summary>
    
    public sealed class AcceleratedTargetLocking: ExtensionBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="T:Core.Extensions.AcceleratedTargetLocking"/> class.
        /// </summary>
        public AcceleratedTargetLocking()
            : base(
                Traduction.extensions_accelerated_target_locking, 
                ExtensionGroupsEnum.Electronics,
                2,
                0, 
                new ExtensionCost(20000,0),
                new ICondition<IExtension>[] {new ExtensionCondition<DataProcessing>(4)} )
        {
            Modifiers = new IModifier[]
                            {
                                new Modifier(FeatureTypesEnum.Robot,FeaturesEnum.LockingTime,0.05)
                            };
        }

        /// <summary>
        /// Obtains the extension description
        /// </summary>
        public override string Description
        {
            get { return Traduction.extensions_accelerated_target_locking_description; }
        }
    }
}